var salaryBeforeTax = prompt("税前工资多少？")
var accumulationFund = parseInt(salaryBeforeTax) * 0.1 * 2;
alert("公积金数额为" + accumulationFund);